import request from "@/utils/request";

//查询班级列表（关键词
export const GetClassList = (data) => {
  return request({
    url: "api/Class/GetClassList",
    method: "post",
    data,
  });
};
//查询班级列表（pid
export const GetClassList_PID = (data) => {
  return request({
    url: "api/Class/GetClassList_PID",
    method: "post",
    data,
  });
};

//添加班级
export const AddClass = (data) => {
  return request({
    url: "api/Class/AddClass",
    method: "post",
    data,
  });
};

//修改班级
export const EditClass = (data) => {
  return request({
    url: "api/Class/EditClass",
    method: "post",
    data,
  });
};

//删除班级
export const DelClass = (data) => {
  return request({
    url: "api/Class/DelClass",
    method: "post",
    data,
  });
};

//班级绑定用户
export const ClassBindUser = (data) => {
  return request({
    url: "api/Class/ClassBindUser",
    method: "post",
    data,
  });
};

//查询班级绑定的学生
export const GetClassBindUserList = (data) => {
  return request({
    url: "api/Class/GetClassBindUserList",
    method: "post",
    data,
  });
};

//添加绑定课程
export const AddClassBindCourse = (data) => {
  return request({
    url: "api/Class/AddClassBindCourse",
    method: "post",
    data,
  });
};
//班级查询绑定课程
export const GetClassBindCourseList = (data) => {
  return request({
    url: "api/Class/GetClassBindCourseList",
    method: "post",
    data,
  });
};
//修改绑定课程
export const EditClassBindCourse = (data) => {
  return request({
    url: "api/Class/EditClassBindCourse",
    method: "post",
    data,
  });
};

//删除绑定课程
export const DelClassBindCourse = (data) => {
  return request({
    url: "api/Class/DelClassBindCourse",
    method: "post",
    data,
  });
};
